str=input()
if str==str[::-1]:
    print("Yes")
else:
    print("No")
